import { toReact, Component } from './toReact'
class MyComponent extends Component{
    render(){
        return <div >
                <div>11111</div>
                <div>2222</div>
                {this.children}
        </div>
    }
}
toReact.render(<MyComponent id='mys'><div>1111</div></MyComponent>,  document.getElementById('root'))
// document.getElementById('root').append(dom);